package com.guigu.www.erp.common.dao;

import com.guigu.www.erp.common.pojo.SPayDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SPayDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SPayDetails record);

    int insertSelective(SPayDetails record);

    SPayDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SPayDetails record);

    int updateByPrimaryKey(SPayDetails record);

    int getMaxsPayprimaryKey();

    List<SPayDetails> BySpayIdqueryspayDetails(Integer id);

    int ByprimaryKeyupdatePaygatherTag(Integer id);

    List<SPayDetails> ByparentIDquery(Integer parentId);

    int BysPayDetailsIdupdatesgatheredAmount(@Param("id") Integer id,@Param("amount") Integer amount);

    List<SPayDetails> ByparentIDquerypayTag2(Integer parentId);


    List<SPayDetails> BySpayIdqueryspayDetails2(Integer id);
}